
package com.yimixian.app.user;

import android.text.SpannableStringBuilder;
import android.view.View;

public class SettingsItem {

    public final int mIconResId;
    public final SpannableStringBuilder mTitle;
    public final View.OnClickListener mOnClickListener;
    public final boolean mAddGroupDividerAfter;
    public final boolean mShowRightArrow;
    public final boolean mShowBadge;
    public final String mLinkInfo;

    public SettingsItem(
            int iconResId,
            SpannableStringBuilder title,
            View.OnClickListener onClickListener,
            boolean addGroupDividerAfter,
            boolean showRightArrow,
            boolean showBadge,
            String linkInfo) {
        mIconResId = iconResId;
        mTitle = title;
        mOnClickListener = onClickListener;
        mAddGroupDividerAfter = addGroupDividerAfter;
        mShowRightArrow = showRightArrow;
        mShowBadge = showBadge;
        mLinkInfo = linkInfo;
    }
}
